﻿
<%@ Page Language="C#" MasterPageFile="~/Rights/RightsMaster.Master" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="QuaManSys.Rights.Index" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>权限设置</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphInner" runat="server">
<div>
    <div>
        <asp:Label ID="lblAllAuth" runat="server" Text="您目前具有的所有权限如下"></asp:Label>
    </div>
    <div>
    <asp:GridView ID="ModuleView" Width="100px" runat="server" DataKeyNames="Id"
                CssClass="Grid" AllowSorting="True" AutoGenerateColumns="False" OnRowDataBound="ModuleView_RowDataBound">
                <FooterStyle CssClass="GridFooter" />
                <RowStyle CssClass="Row" />
                <Columns>
                    <asp:TemplateField HeaderText="模块名称">
                        <ItemTemplate>
                            <asp:Label ID="lab_ID" runat="server" Text='<%# Eval("Id")%>' Style="display: none"></asp:Label>
                            <asp:Label ID="Label1" runat="server" Text='<%# Eval("Name") %>'></asp:Label>
                            <asp:Label ID="lab_Verify" runat="server" Text="" Style="display: none"></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle Wrap="False" />
                        <ItemStyle HorizontalAlign="Left" Wrap="False" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="权限列表">
                        <ItemTemplate>
                            <asp:CheckBoxList ID="AuthorityList_Grant" runat="server" RepeatDirection="Horizontal"
                                RepeatLayout="Flow">
                            </asp:CheckBoxList>
                        </ItemTemplate>
                        <HeaderStyle Wrap="False" />
                        <ItemStyle Wrap="False" />
                    </asp:TemplateField>
                </Columns>
                <HeaderStyle CssClass="HeadingCell" />
                <AlternatingRowStyle BorderStyle="None" CssClass="AlternatingRow" />
            </asp:GridView>
    </div>
</div>
</asp:Content>
<%--
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>权限设置</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <ul>
        	<li>
                <asp:HyperLink ID="hlkPersonAuth" runat="server" NavigateUrl=
                    "~/Rights/UserManPage.aspx">人员权限管理</asp:HyperLink>
            </li>
            <li>
                <asp:HyperLink ID="hlkRoleAuth" runat="server" NavigateUrl=
                    "~/Rights/RolesManPage.aspx">角色权限管理</asp:HyperLink>
            </li>
            <li>
                所有权限
            
        <div>
            
        </div>
        </li>
        </ul>
    </div>
    </form>
</body>
</html>
--%>